<style>
.headinfo .mod-member {
    position: absolute;
    margin: 0 auto;
	margin-top: 2.5rem;
    width: 94%;
	left:3%;
    padding: 6px 0 10px;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #f2f2f2;
}
.headinfo .mod-member .sign-btn{
    position: absolute;
    margin: 0 auto;
	top: -1px;
    width: 36px;
	height: 26px;
	right:16px;
    color:#fff;
	text-align:center;
	padding-top:3px;
    background: #4491F1;
}
.headinfo .bottombg {position: absolute;bottom:-20px;width:100%;height:22px;border-bottom-right-radius:100% 40px;border-bottom-left-radius:100% 40px;}
.mod-group {
    margin: 0 auto;
	margin-top: 5px;
    width: 94%;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #f2f2f2;
}
.fui-icon-group .fui-icon-col-sm {
    margin:10px 0;
}
</style>
<div class='fui-page fui-page-current'>
	<div class='fui-content member-page'>
		<div class="headinfo" style="height:4rem;background:red">
				<div class="bottombg" style="background:red;">
				</div>
				<div class="mod-member">
					<div class="sign-btn" href="javascript:;" ng-click="access_json('core/setting.site/')" style="background:red;z-index:2">设置</div>
						<div class="headinfo" style="background:none;padding:0;color:#999">
												<div class="child userinfo" style="padding-bottom:5px;color:#999;width:4rem">
													<div class="face" style="margin-right:0.6rem;padding: 0.1rem;" href="javascript:;" ng-click="access_json('core/setting.site/')">
															<img ng-src="{{tomedia(pagedata.site.logo) || '../core/resource/images/web-logo.jpg'}}" />
															<span class="vip" style="top: 2rem;background: red none repeat scroll 0 0;"><i class="icon icon-vip5" style="font-size:0.5rem;padding-left:0.1rem"></i></span>
													</div>
												</div>
												<div class="child userinfo" style="padding-bottom:0;color:#999; flex: 1;text-align:left;">
													<div class="l bold" style="width:100%">{{pagedata.site.title}}</div>
													<div onclick="$('#show_vipcard').modal();"  class="goods-tag"><div class="fui-tag fui-tag-danger fee-tag">{{pagedata.site.grouptitle || '无套餐'}}</div></div>
													<div class="l">
														<div style="font-size:12px">
														<span ng-if="pagedata.site.status==1">到期时间:{{pagedata.site.endtime}} <span class="red" href="javascript:;" ng-click="access_json('core/account.siteinfo/detail/id='+pagedata.site.groupid)">去续费>></span></span>
														<span ng-if="pagedata.site.status==2">已过期，<span class="red" href="javascript:;" ng-click="access_json('core/account.siteinfo/detail/id='+pagedata.site.groupid)">去续费>></span></span>
														</div>
													</div>
												</div>
									
						</div>
						<div class="fui-icon-group noborder  col-4">
												<div class="fui-icon-col-sm external" style="margin:0">
													<div>
														<div class="text bold">{{pagedata.site.credit2 || '0.00'}}</div>
														<div class="subtitle" style="font-size:12px;color: #666;">余额 <span href="javascript:;" ng-click="access_json('core/account.recharge/')" style="color:red">充值</span></div>
													</div>
												</div>
												<div class="fui-icon-col-sm external" style="margin:0">
													<div>
														<div class="text bold">{{pagedata.site.resource || '500'}}M</div>
														<div class="subtitle" style="font-size:12px;color: #666;">附件容量 <span href="javascript:;" ng-click="access_modal('core/account.siteinfo/buy_attachment')" style="color:red">扩容</span></div>
													</div>
												</div>
												<div class="fui-icon-col-sm external" style="margin:0">
													<div>
														<div class="text bold">{{pagedata.site.member_all || 0}}</div>
														<div class="subtitle" style="font-size:12px;color: #666;">会员数</div>
													</div>
												</div>
												<div class="fui-icon-col-sm external" style="margin:0">
													<div>
														<div class="text bold">{{pagedata.site.access_all || '0'}}</div>
														<div class="subtitle" style="font-size:12px;color: #666;">访问量</div>
													</div>
												</div>
						</div>
					</div>
				</div>
						<div class="fui-cell-group fui-cell-click mod-group" style="margin-top: 4.5rem">
								<a class="fui-cell" href="javascript:;" ng-click="access_json('core/account.siteinfo/bind_openfans/')">
											<div class="fui-cell-icon"><i class="icon icon-listzuhe"></i></div>
											<div class="fui-cell-text">
												绑定站点
											</div>
											<div class="fui-cell-remark">绑定一个现有站点,数据同步</div>
								</a>
								<a class="fui-cell" href="javascript:;" ng-click="access_json('core/account.siteinfo//isgroup=1')">
											<div class="fui-cell-icon"><i class="icon icon-qiehuan"></i></div>
											<div class="fui-cell-text">
												切换套餐
											</div>
											<div class="fui-cell-remark">换一个业务场景</div>
								</a>
								<a class="fui-cell" href="javascript:;" ng-click="access_json('core/home.plugin_home/')">
											<div class="fui-cell-icon"><i class="icon icon-yingyongbao"></i></div>
											<div class="fui-cell-text">
												切换应用
											</div>
											<div class="fui-cell-remark">换一个应用试试</div>
								</a>
								<a class="fui-cell" href="javascript:;" ng-click="access_json('core/wxapp.authlist/add/')">
											<div class="fui-cell-icon"><i class="icon icon-xiaochengxu"></i></div>
											<div class="fui-cell-text">
												申请小程序
											</div>
											<div class="fui-cell-remark">手机免费一键注册申请</div>
								</a>
								<a class="fui-cell" href="javascript:;" ng-click="access_json('core/wxapp.plugin/list/')">
											<div class="fui-cell-icon"><i class="icon icon-lvyoutehui"></i></div>
											<div class="fui-cell-text">
												发布小程序
											</div>
											<div class="fui-cell-remark">一键发布到微信官方</div>
								</a>
								<a class="fui-cell" href="javascript:;" ng-click="access_json('core/member.member/')">
											<div class="fui-cell-icon"><i class="icon icon-xiaochengxu"></i></div>
											<div class="fui-cell-text">
												站点会员
											</div>
											<div class="fui-cell-remark">管理站点旗下会员</div>
								</a>
								<a class="fui-cell" href="javascript:;" ng-click="access_json('core/home.agent_home//ismanage=1')">
											<div class="fui-cell-icon"><i class="icon icon-icon"></i></div>
											<div class="fui-cell-text">
												我的分销
											</div>
											<div class="fui-cell-remark">给粉丝更多好平台</div>
								</a>
						</div>
						<div class="fui-cell-group fui-cell-click mod-group">
							<a class="fui-cell external">
								<div class="fui-cell-icon"><i class="icon icon-set"></i></div>
								<div class="fui-cell-text">切换平台</div>
								<div class="fui-cell-remark noremark" style="color:#888;font-size: 0.65rem;">根据业务需求，选择在不同的平台运营</div>
							</a>
							<div class="fui-icon-group col-3 selecter">
								<a ng-repeat="item in pagedata.applist" class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json(item.action)">
									<div class="icon icon-green radius"><i class="fa {{item.icon}}"></i></div>
									<div class="text">{{item.title}}</div>
								</a>
							</div>
						</div>
			<div ng-include="sys_html('common/_copyright')"></div>
	</div>
</div>
<div id="show_vipcard"  class="modal fade" tabindex="-1" style="z-index:99999;display:none;">
		<div class="modal-dialog" style="top:30%;">
			<div class="memlogo-area" style="background:url({{tomedia(pagedata.site.cardbg) || '../core/resource/images/cardbg.png'}}) no-repeat 100%">
                    <div class="memlogo">
                        <img ng-src="{{tomedia(pagedata.site.logo) || '../core/resource/images/gw-user.png'}}">
                    </div>
                    <div class="name">{{pagedata.site.title || '匿名'}}</div>
                    <br>
                    <div class="name">
						<span ng-if="pagedata.site.status==1">到期时间:{{pagedata.site.endtime}} <span class="red" href="javascript:;" ng-click="access_json('core/account.siteinfo/detail/id='+pagedata.site.groupid)">去续费>></span></span>
						<span ng-if="pagedata.site.status==2">已过期，<span class="red" href="javascript:;" ng-click="access_json('core/account.siteinfo/detail/id='+pagedata.site.groupid)">去续费>></span></span>					
					</div>
                    <div class="code" style="margin-top:-3rem">
                        <img ng-src="{{tomedia(main.logo) || '../core/resource/images/wxappicon.png'}}">
                    </div>
                    <div class="bot">
						<img id="barcode" style="height:2.5rem"/>
						<span class="goods-tag r-f"><div class="fui-tag fui-tag-danger fee-tag">{{pagedata.site.grouptitle || '无套餐'}}</div></span>
                    </div>
            </div>
		</div>
</div>
<div ng-include="sys_html('common/_menu')"></div>
<div ng-include="sys_html('common/_footer')"></div>
<div ng-include="sys_html('common/_share')"></div>
<div ng-include="sys_html('common/_sales')"></div>
<script>
require(['JsBarcode'],function(JsBarcode){
	//console.log('准备调用');
	JsBarcode('#barcode',scope.pagedata.site.uniacid,{fontSize:36});
});
</script>